import redis.clients.jedis.Jedis;

public class Test {
    public static Jedis jedis;

    public static void main(String[] args) {
        jedis = new Jedis("106.15.224.185",6379);
        jedis.auth("284703");
        String set = jedis.set("name", "张三");
        System.out.println("set"+set);
    }
}
